<template>
    <el-aside>
        <el-menu :router="true" :default-active="route.fullPath">
            <el-sub-menu index="/">
                <template #title>
                    <el-icon>
                        <location />
                    </el-icon>
                    <span>广告管理</span>
                </template>
                <el-menu-item index="/AdvertiList">广告列表</el-menu-item>
                <el-menu-item index="/AdvertiAdd">广告添加</el-menu-item>
            </el-sub-menu>
        </el-menu>
    </el-aside>
    
</template>
<script setup>
import { useRoute } from "vue-router";
import { useStore } from "vuex";

const route = useRoute()
const store = useStore()
</script>
<style lang="scss" scoped>
.el-menu{
    height: 100vh;
}
</style>